package com.qiaofang.collectmanage.dao;
import com.qiaofang.collectmanage.dao.domain.CrawlerTask;
import java.util.List;
import org.apache.ibatis.session.RowBounds;
import com.qiaofang.collectmanage.stub.bean.SearchCrawlerTaskDTO;
import com.qiaofang.common.model.page.PageDTO;

/**
* Created by generator on 2018-8-1 13:49:21
*/
public interface CrawlerTaskDao {
     public CrawlerTask  getCrawlerTaskByUuid(String uuid);
     public CrawlerTask  getCrawlerTaskByCrawlerTask(CrawlerTask task);

     public int saveCrawlerTask(CrawlerTask task);

     public int updateCrawlerTask(CrawlerTask task);
     public int removeCrawlerTaskByUuid(String uuid);
     public List<CrawlerTask> listCrawlerTask(CrawlerTask task);


     public List<CrawlerTask> listCrawlerTaskByUuids(List<String> uuidList);

     public List<CrawlerTask> listCrawlerTaskByIds(List<Integer> idList);

     public Long countCrawlerTask(CrawlerTask task);

     public List<CrawlerTask> searchCrawlerTaskBySimpleAttr(CrawlerTask task, RowBounds rb);

     public List<CrawlerTask> searchCrawlerTaskByPermission(SearchCrawlerTaskDTO dto, PageDTO page);

     public Long countCrawlerTaskByPermission(SearchCrawlerTaskDTO dto);

}
